﻿


<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="renderer" content="webkit" />
<title>注册_华为帐号
</title> <link href="https://hwid1.vmallres.com/CAS/up/rss_5/../common/images/default/hwfavicon.ico" type="image/x-icon" rel="shortcut icon" />
<link href="css/ec.core.css" rel="stylesheet" type="text/css">
<link href="css/common.css" rel="stylesheet" type="text/css">
<link href="css/zh-cn_css.css" rel="stylesheet" type="text/css">
<link href="css/dialog.css" rel="stylesheet" type="text/css">
<script type="text/javascript">var localHttps="https://hwid1.vmall.com/CAS";var currentSiteID="1";</script>
<script src="js/jsapi.js" namespace="ec"></script>
<script src="js/jquery-1.8.2.min.js" id=jsid></script>
<script src="js/ec.core.js"></script>
<script src="js/casui.js"></script>
<script src="js/ec.business.js"></script>
<script src="js/commonjs.js"></script>
<script src="js/base.js"></script>


<!-- <script type="text/javascript">
var rss={
		regprotocol:"您只有同意我们的服务条款，才能进行注册！",
		wrongcode:"验证码错误",
		authcodeerror:"短信验证码错误",
		phoneregfail:"手机注册失败！",
		inputcode:"请输入验证码",
		emptyphone:"手机号为空，请正确填写",
		error:"对不起，您输入的手机号可能不正确",
		agreement:"注册协议",
		inputpwd:"请输入您的密码",
		pwdlimit:"密码长度为8~32个字符",
		confirmpwd:"确认密码：",
		pwdnotsame:"密码与确认密码不一致",
		inputsmscode:"请输入短信验证码",
		resend: "重新获取",
		resend_time:"重新获取（{0}）",
		wrongformatsmscode:"验证码错误",
		codeformaterror:"验证码格式错误",
		inputnumber:"输入手机号",
		pwdlength:"8~32个字符",
		confirmpwd:"确认密码：",
		codelength:"短信验证码",
		ignorecase:"不区分大小写",
		checking:"正在检测……",
		usablephone:"&nbsp;",
		usableemail:"&nbsp;",
		timeout:"检测超时！",
		phoneemptyfail:"手机号不能为空！",
		getsmscodefail:"获取短信验证码失败",
		getsmscode:"获取验证码",
		findpwd:"重置密码",
		phoneexist:	"该手机号已注册！",
		weak:"弱",
		common:	"中",
		strong:	"强",
		lang:"zh-cn",
		reg_isDialog:'0',
		common_js_send_sms_in_min:	"一分钟内只允许请求一次，请稍后重试",
		common_js_send_sms_in_week:	"超出一周内发送验证码的最大次数",
		common_js_send_sms_in_day:	"获取短信次数太频繁，请明天再试",
		common_js_pwd_format_error:"密码格式错误",
		common_js_pwd_account_same_reverse:"密码不能和帐号或者和帐号的倒序相同",
		modifyUserPwd_input_8_32_chars:"请输入8~32字符",
		modifyUserPwd_input_8_32_complax_chars_desc : "密码由8-32位字符组成，需至少包含一个大写字母、一个小写字母和一个数字，建议不与其他密码相同",
		unregisteredphone: "该手机号未被使用，可顺利注册",
		nicknameerror: "不可包含特殊字符",
		nicknameMissingTip: "请输入昵称",
		notnull:"1~20个字符",
		chooseDateTip: "请选择生日的年月日",
		birthdayLimitTip: "生日必须小于当前时间",
		ageLimitTip: "用户必须满足13周岁",
		smsHasSendTo: "验证码短信已经发送至<div class=\"nophonewrap\">{0}</div>",
		smsSendDefErr: "需要二次登录认证。",
		nicknameLengthLimit: "请输入1~20个字符",
		nickName_exsit:"昵称已存在，请更换。",
		day: "日",
		month: "月",
		year: "年",
		IGetIt: "确定",
		hint: "提示",
		loginOverdue: "当前页面已过期，请刷新当前页面后重试。",
		overload:"系统繁忙，请稍后再试！",
		more_details : "更多详情",
		agree : "同意",
		common_agree_two:"点击注册，即表示我同意华为隐私政策与最终用户许可协议。",
		common_agree_two_age:"点击注册，即表示我确认已满{0}岁并同意华为隐私政策与最终用户许可协议。",
		register_info_error:"您的注册信息存在错误,请修改",

		error_70001201: "系统繁忙，请稍后再试！",
		error_10002073: "密码不符合规则",
		error_10000001: "系统繁忙，请稍后再试！",
		error_70001401: "系统内部错误",
		error_70005002: "昵称已经存在",
		error_70005003: "昵称不符合规范",
		error_70007007: "儿童不能同意“家长同意书”",
		error_70007001: "监护人监护的儿童超过上限",
		error_70007003: "监护人年龄必须大于18岁",
		error_70007004: "监护人没有同意“家长同意书”",
		error_70002003: "监护人帐号或者密码错误",
		error_70006606: "监护人帐号不能为用户名帐号（非邮箱非手机）",
		error_70002067: "不在服务区(您所在的地方暂未开通服务)",
		error_70002033: "不能注册@inner.up.huawei后缀的邮件地址",
		error_70002018: "发送激活邮件失败。",
		error_70002057: "验证码已连续错误超过三次",
		error_70002058: "输入的验证码错误次数过多，请明天再试",
		error_70002039: "验证码不存在或已过期",
		error_10000002: "不提供服务!",
		error_10000004: "非法操作!",
		error_70002002: "帐号已存在",
		error_70002070: "密码复杂度过低",
		error_70002001: "用户不存在",
		error_70006009: "不允许用户短信找回密码",
		error_70002028: "用户没有传入的手机号",
		error_70002046: "手机号已经激活",
		error_70002030: "短信验证码发送失败",
		error_70001102: "获取验证码短信次数较为频繁， 1小时后可重试。",
		error_10000505: "第三方帐号绑定失败",
		error_70008001: "不可是常见密码或弱密码"
}; -->

var localInfo = {
		reqClientType:"26",
		loginChannel:"26000000",
		service:"http://www.vmall.com/account/caslogin",
		loginUrl:"https://hwid1.vmall.com/CAS/portal/login.html",
		accountType:"2",
		remoteLogin:"https://hwid1.vmall.com/CAS/remoteLogin",
		submit:"true",
		lang:"zh-cn",
		getpasswordlink:"https://hwid1.vmall.com/CAS/portal/resetPwd/forgetbyid.html?reqClientType=26",
		pageToken:"At3FFG3ATK6zukkF5aJyiHgW7JqLFDFF",
		currentSiteID:"1",
		countryCodes:"+86(中国),",
		items_year:"[N-year, 2016-2016, 2015-2015, 2014-2014, 2013-2013, 2012-2012, 2011-2011, 2010-2010, 2009-2009, 2008-2008, 2007-2007, 2006-2006, 2005-2005, 2004-2004, 2003-2003, 2002-2002, 2001-2001, 2000-2000, 1999-1999, 1998-1998, 1997-1997, 1996-1996, 1995-1995, 1994-1994, 1993-1993, 1992-1992, 1991-1991, 1990-1990, 1989-1989, 1988-1988, 1987-1987, 1986-1986, 1985-1985, 1984-1984, 1983-1983, 1982-1982, 1981-1981, 1980-1980, 1979-1979, 1978-1978, 1977-1977, 1976-1976, 1975-1975, 1974-1974, 1973-1973, 1972-1972, 1971-1971, 1970-1970, 1969-1969, 1968-1968, 1967-1967, 1966-1966, 1965-1965, 1964-1964, 1963-1963, 1962-1962, 1961-1961, 1960-1960, 1959-1959, 1958-1958, 1957-1957, 1956-1956, 1955-1955, 1954-1954, 1953-1953, 1952-1952, 1951-1951, 1950-1950, 1949-1949, 1948-1948, 1947-1947, 1946-1946, 1945-1945, 1944-1944, 1943-1943, 1942-1942, 1941-1941, 1940-1940, 1939-1939, 1938-1938, 1937-1937, 1936-1936, 1935-1935, 1934-1934, 1933-1933, 1932-1932, 1931-1931, 1930-1930, 1929-1929, 1928-1928, 1927-1927, 1926-1926, 1925-1925, 1924-1924, 1923-1923, 1922-1922, 1921-1921, 1920-1920, 1919-1919, 1918-1918, 1917-1917, 1916-1916, 1915-1915, 1914-1914, 1913-1913, 1912-1912, 1911-1911, 1910-1910, 1909-1909, 1908-1908, 1907-1907, 1906-1906, 1905-1905, 1904-1904, 1903-1903, 1902-1902, 1901-1901, 1900-1900]",
		items_month:"[N-month, 12-12, 11-11, 10-10, 9-9, 8-8, 7-7, 6-6, 5-5, 4-4, 3-3, 2-2, 1-1]",
		agreementContents:"[Lcom.huawei.termcloud.uniaccount.remote.domain.AgreementContent;@4dc20c6d",
		agreementContentsStr:"[{'id':'2','siteC':'$countryCode','ver':'1.03'},{'id':'0','siteC':'$countryCode','ver':'1.03'}]",
		default_country_code:"0086",
		countryCode:"cn",
		urlQurey:"?reqClientType=26&loginChannel=26000000&countryCode=cn&loginUrl=https%3A%2F%2Fhwid1.vmall.com%2FCAS%2Fportal%2Flogin.html&service=http%3A%2F%2Fwww.vmall.com%2Faccount%2Fcaslogin&lang=zh-cn&themeName=red",
		createChildFlag:"false",
		thirdLoginFlag:"false"
	};

</script>
<script src="js/casui.js"></script>
<script src="js/reg_base.js"></script>

<link href="css/dialog.css" rel="stylesheet" type="text/css">

<style type="text/css">

.selected {
    padding: 10px;
    cursor: pointer;
    background-image: url("images/red.png");
    background-repeat: no-repeat;
    position: absolute;
    top: 20px;
}

</style>

</head>
<body class="reg">
	 <!-- 头部  -->

<div class="head-background">
	<div class="head_center">


			  	<div class="main-logo">
					<img src="picture/logo2.png">
				</div>
				<div class="website-name"  style="color:#fff;">
					<b style="font-size: 23px;margin-top: -4px;float: left;">|</b>
					<b style="font-size: 23px;margin-top: -1px;float: left; margin-left:5px;">华为商城</b>
				</div>


	</div>
</div>
	<!-- <div class="top-div"><p class ="huawei"></p></div> -->
	<div class="wp1 relative">
		<div class="reg-content" id="registerForm">
			<div class="reg-tab">


						<a href="https://hwid1.vmall.com/CAS/portal/userRegister/regbyphone.html?reqClientType=26&loginChannel=26000000&countryCode=cn&loginUrl=https%3A%2F%2Fhwid1.vmall.com%2FCAS%2Fportal%2Flogin.html&service=http%3A%2F%2Fwww.vmall.com%2Faccount%2Fcaslogin&lang=zh-cn&themeName=red" class="tab-phone sel">手机号</a>
					 	<a href="https://hwid1.vmall.com/CAS/portal/userRegister/regbyemail.html?reqClientType=26&loginChannel=26000000&countryCode=cn&loginUrl=https%3A%2F%2Fhwid1.vmall.com%2FCAS%2Fportal%2Flogin.html&service=http%3A%2F%2Fwww.vmall.com%2Faccount%2Fcaslogin&lang=zh-cn&themeName=red" class="tab-email">电子邮箱 </a>




			</div>
			<div class="login r">
				已有华为帐号
				<a href="https://hwid1.vmall.com/CAS/remoteLogin?reqClientType=26&loginChannel=26000000&countryCode=cn&loginUrl=https%3A%2F%2Fhwid1.vmall.com%2FCAS%2Fportal%2Flogin.html&service=http%3A%2F%2Fwww.vmall.com%2Faccount%2Fcaslogin&lang=zh-cn&themeName=red" class="login-a"  title="登录">登录 </a>▶
			</div>

			<div class="reg-detail">
				<h3 class="reg-title">
					注册华为帐号
				</h3>
				<p class="node-intro">
                	华为帐号是您用于访问所有华为服务的帐号。使用华为帐号登录后，您将可以使用云服务、华为商城、花粉俱乐部、应用市场、EMUI产品、华为网盘和开发者联盟。
                </p>
                <div class="box-shadow-in"></div>

				<div class="node">
					<div class="node-title">华为帐号</div>
					<div class="node-intro">输入手机号作为您的华为帐号，用于登录、重设密码、验证身份。</div>
					<div class="node-des mkcl">
						<div class="node-input r mkcl">
							<div class="short r">
								<div class="dinput">
									<input type="text" id="username" name="formBean.username"
										maxlength="50" tabindex="1" />
								</div>
								<span id="msg_phone"></span>
							</div>
							<div class="short">
								<div class="ddrop" id="input_languageCode">
									<input type="hidden" id="countryCode" value="" />
								</div>
							</div>
						</div>
						<div class="input-intro">
							手机号：
						</div>
					</div>
					<div class="node-des mkcl">
						<div class="node-input r">
							<div class="short r">
								<div>
									<input type="button" class="dbtn2 r" id="getValiCode"
										IntervalTime="60"
										onclick="getMobileCode(4,'p_reg_phone_session_ramdom_code_key',26,'zh')"
										value="获取验证码" />
									<span id="msg_getPhoneRandomCode" style="position:relative;top:34px;"></span>
								</div>
							</div>
							<div class="short">
								<div class="dinput">
									<input type="text" autocomplete="off"
										class="verify vam ime-disabled" id="authCode"
										style="vertical-align: middle;" name="formBean.authCode"
										maxlength="8" tabindex="3" />
								</div>
								<span id="msg_phoneRandomCode"></span>
							</div>
						</div>
						<div class="input-intro">
							验证码：
						</div>
					</div>
				</div>
				<div class="box-shadow-in"></div>

				<div class="node">
					<div class="node-title">设置登录密码</div>
					<div class="node-intro">密码由8-32位字符组成，需至少包含一个大写字母、一个小写字母和一个数字，建议不与其他密码相同</div>
					<div class="node-des mkcl">
						<div class="node-input r">
							<div class="dinput">
								<input type="password" autocomplete="off" class="text vam"
									id="password" name="formBean.password" maxlength="32"
									tabindex="4" />
							</div>
							<div class="pwd-letter">
								<span>弱 </span><span> 中 </span><span> 强 </span>
							</div>
							<div>
								<span id="msg_password"></span>
							</div>
						</div>
						<div class="input-intro">
							密码：
						</div>
					</div>
					<div class="node-des mkcl">
						<div class="node-input r">
							<div class="dinput">
								<input type="password" autocomplete="off" class="text vam"
									name="checkPassword" maxlength="32" tabindex="5" />
							</div>
							<span id="msg_checkPassword"></span>
						</div>
						<div class="input-intro">
							确认密码：
						</div>
					</div>
				</div>
				<div class="box-shadow-in"></div>

				<!-- 选择国家开始 -->
				<div class="node" id="chooseCountry" style="display: none;">
					<div class="node-title">国家/地区
					</div>
	   				<div class="foot-selectCountry-margin" style="margin-top: -15px;">
	     				<div class="selectCountryImg_style">
		         			<a href="#" style="cursor:hand"><div id="selectCountryImg" class="selectCountryImg"></div></a>
		  				</div>
	     				<div class="selectedCountry_style">
			     			<div>
						    	<div id="selectedCountry"></div>
						    </div>
					  </div>
					</div>
					<div class="node-intro">不同地区的华为帐号服务可能会有差异。</div>
				</div>
				<div class="box-shadow-in" id="chooseCountryShadow" style="display: none;"></div>
				<!-- 选择国家结束 -->

				<div id="agreement">

						<div class="node">
							<div class="node-title">华为帐号隐私声明
							</div>
							<div class="node-intro">为完成注册，华为将为您创建唯一的华为帐号，来标识您和提供更优服务，还将采集您所有登录设备的信息 (IMEI 和 SN) 和帐号信息 (姓名、昵称、性别、生日、邮件地址、手机号、密码和头像)。需要短信验证码时，将自动读取并输入短信验证码。如果您不同意以上任何条款，请离开注册界面。<br/>点击“注册”，即表示您已阅读并同意<a href="https://hwid1.vmall.com/CAS/portal/agreements/userPrivacyPolicy/zh-cn_userPrivacyPolicy.html?version=europe" target="_blank" class="loginAndRegLink">华为隐私政策</a>。</div>
						</div>
						<div class="box-shadow-in"></div>

						<div class="node">
							<div class="node-title">最终用户许可协议
							</div>
							<div class="node-intro">华为帐号用户可以通过手机号或邮件地址搜索到您，并可查看您的头像、姓名和地区信息。您也可以在帐号中心的设置中关闭对应的搜索开关，以不被新朋友查找到。<br/>请仔细阅读<a href="https://hwid1.vmall.com/CAS/portal/agreements/EULA/zh-cn_EULA.html?version=china" target="_blank" class="loginAndRegLink">最终用户许可协议</a>。本条款确定了您使用华为云产品、软件、网站及相关服务时的权利和责任。同意本条款，才能创建华为帐号。</div>
						</div>
						<div class="box-shadow-in"></div>

				</div>

				<div class="node">
					<div id="clickAgree" class="node-intro">点击注册，即表示我同意华为隐私政策与最终用户许可协议。</div>
				</div>
				<div class="box-shadow-in"></div>

				<div class="reg-btn" align="center">
					<input type="button" class="btn btn-reg sel" id="btnSubmit"
						value="立即注册" tabindex="7" />
					<div id="register_msg" class="vam error" style="position:relative;left:30%;"></div>
				</div>
			</div>
			<div class="box-shadow">
			</div>
		</div>
	</div>
 <input type="hidden" id="countryRegion" value="" />
	<div id="selectCountryCodeDiv"></div>

	<!-- 底部  -->

<style>

.selectCountryImg {
    display: block;
    width: 30px;
    height: 30px;
    background: url("images/down.png") no-repeat;
    background-position-y: 5px;

}

</style>
<div class="wp1 ft">
	<div class="reg-content">
		<p class="footer">

					<a id="foot_privacy" href="https://hwid1.vmall.com/CAS/portal/agreements/userPrivacyPolicy/zh-cn_userPrivacyPolicy.html?version=europe" class="rule" target="_blank">华为隐私政策</a>
					<a id="foot_EULA" href="https://hwid1.vmall.com/CAS/portal/agreements/EULA/zh-cn_EULA.html?version=china" class="rule" target="_blank">最终用户许可协议</a>







			<a href="#" target="_blank"><em style='font-style: normal'>|</em> <a style="text-decoration: underline;" target="blank" href="https://hwid1.vmall.com/CAS/portal/faq/faq.html">常见问题</a></a>
		</p>




				<p class="footer">Copyright @ 2011-2016  华为软件技术有限公司  版权所有  保留一切权利  苏B2-20070200号 | 苏ICP备09062682号-9</p>








<!-- 隐藏多余的选择国家，因为已经转移到协议上面
	   <div class="foot-selectCountry-margin">
	     <div style="float:right;right:10px">
		         <a href="#" style="cursor:hand"><div id="selectCountryImg" class="selectCountryImg"></div></a>
		  </div>
	     <div style="float:right;margin-right:10px">
		     <div>
		         <div id="selectedCountry"></div>
		     </div>
		  </div>

	  </div>
-->
	</div>
</div>


	<script src="js/registerbyphone.js"></script>
	<script type="text/javascript">

 		$(document).ready(function(){
 			//drop menu
 			$(".ddrop").click(function() {
 				var open = $(this).data("open");
 				if (!open) {
 				$(this).children('.dpmenu').attr("tabindex", 0).fadeIn(300).focus();
 				$(this).data("open", true);
 				}
 				});

 				$(".dpmenu > li").click(function() {
 				var $p = $(this).closest('.ddrop');
 				$p.children('input').val($(this).data("value"));
 				$p.children('span').text($(this).text());
 				$(this).parent().fadeOut(300, function() {
 				$p.data("open", false);
 				});
 				});

 				$(".dpmenu").blur(function() {
 				$(this).fadeOut(300, function() {
 				$(this).parent().data("open", false);
 				});
 				});


				$(".tick").on("click", function() {
					$(this).data("value") == true ? $(this).trigger("turnoff") : $(this).trigger("turnon");
				}).on("turnon", function() {
					$(this).removeClass("off");
					$(this).data("value", true);
					$(this).trigger("change", [true]);
					if($(".tick.off").length == 0) {
						$("#btnSubmit").addClass("sel");
					}
				}).on("turnoff",function() {
					$(this).addClass("off");
					$(this).data("value", false);
					$(this).trigger("change", [false]);
					$("#btnSubmit").removeClass("sel");
				});

				//调整tips样式
		 		$(".lb_opacity_Class").css("padding-top","8px");

				//下拉列表
		 		var items = [];
		 		if (localInfo.countryCodes)
		 		{
		 			var contrysArr = localInfo.countryCodes.split(",");
		 			$.each(contrysArr, function(n, value) {
		 				var temp = value.split("(");
		 				var key = temp[0];
		 				if(key.indexOf("+")>-1) {
			 				key = key.replace("+", "00");
		 				}

		 				if (key) {
			 				var item = {
			 					value:key,
			 					label:value
			 				};
		 					items.push(item);
		 				}
		 			});

		 		}
		 		$('#input_languageCode').DropList({
		 			items: items,
		 			defaultValue:localInfo.default_country_code,
		 			onChange: function(key, value) {
		 				var temp = value.split("(");
		 				if (temp.length > 1)
		 				{
		 					$("#countryCode").val(temp[0]);
		 					var phone = $("#username").val();
		 					if(phone != "") {
		 						checkLengthByCountry($("#countryCode").val(), $("#username"), "#msg_phone", rss.error);
			 					if(!valiMobile(phone))
			 					{
			 						showError($("#msg_phone"), rss.error);
			 						return;
			 					}
		 					}
		 				}
		 			}
		 	    });

		 		//页面加载时获取国家列表
		 		//getIPCountry();
		 		getCountryRegion();
		 		displayCountry();
	 	});
 	</script>
</body>
</html>
